<div class="container-fluid" style="padding: 20px 10px 0px 10px">
    <div class="row-fluid">
        <div class="well">
            <ul class="nav nav-tabs">
                <li class="active"><b>导入EXCEL表格</b></li>
            </ul>
            <div id="myTabContent" class="tab-content">
                <div class="tab-pane active in" id="home">
                    <form id="formid" action="/order/importexcel" method="post">
                        <div id="setImd" style="display:inline">
                            Excel文件：
                            <input type="text" placeholder="" name="xls_url" class="setImdText" style="width:360px" value="" readonly="">
                            <input type="button" class="btn btn-info setImdBtn" style="margin-top:-8px" value="选择文件">&nbsp;
                        </div>
                        <input type="hidden" value="1" name="dosubmit" />
                    </form>
                </div>
                <div class="btn-toolbar">
                    <button class="btn btn-primary" style="margin-left:130px" id="btn-save"><i class="icon-save"></i> 导 入</button>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
    $(function(){
        $('#btn-save').click(function() {
            if(!$('input[name="xls_url"]').val()){
                showmsg('请选择文件');
                return false;
            }else{
                $('#formid').submit();
            }
        });
        $('.setImdBtn').click(function(){
            $('#setImd').selfups();
        });
    });
</script>